package com.up.remoting;

/**
 * @author xueqiang.mi
 * 
 */
public class Constants {

  public static final String COOKIE_DOMAIN = ".higok.com";
  public static final String WEBSITE_DOMAIN = "http://higok.com/";
  public static final String DOMAIN_REPO = "http://upinquan.b0.upaiyun.com/";

  public static final int PAGE_NEXT = 1;
  public static final int PAGE_PREV = 0;

  public static final String SDK_API_ITEM_NEXT = WEBSITE_DOMAIN + "api/item/next?";

  public static final String SDK_API_BRAND_LIST = WEBSITE_DOMAIN + "api/brand/list/{0}";
  public static final String SDK_API_COMMENT_BY_ITEM = WEBSITE_DOMAIN + "api/comment/by_item?item_id={0}&offset={1}";
  public static final String SDK_API_COMMENT_BY_USER = WEBSITE_DOMAIN + "api/comment/by_user?offset={0}";

  public static final String SDK_API_ITEM_DETAILS = WEBSITE_DOMAIN + "api/item/get?item_id={0}";
  public static final String SDK_API_ITEM_DETAILS_AT = WEBSITE_DOMAIN + "api/details/at?offset={0}&size={1}&next={2}";
  public static final String SDK_API_ITEM_DETAILS_COMMENTED = WEBSITE_DOMAIN + "api/details/commented?offset={0}";
  public static final String SDK_API_ITEM_DETAILS_FOCUSED = WEBSITE_DOMAIN + "api/details/focused?offset={0}";
  public static final String SDK_API_ITEM_PRICES = WEBSITE_DOMAIN + "api/item/prices?item_id={0}";

  public static final String SDK_API_ITEMS_CATEGORY = WEBSITE_DOMAIN + "api/items/category?cat_id={0}&offset={1}";
  public static final String SDK_API_ITEMS_COLLECTED = WEBSITE_DOMAIN + "api/items/collected?offset={0}";
  public static final String SDK_API_ITEMS_FRIENDS = WEBSITE_DOMAIN + "api/items/friends?offset={0}&next={1}";
  public static final String SDK_API_ITEMS_HOT = WEBSITE_DOMAIN + "api/items/hot?offset={0}";
  public static final String SDK_API_ITEMS_LATEST = WEBSITE_DOMAIN + "api/items/latest?offset={0}";
  public static final String SDK_API_ITEMS_LOCATION = WEBSITE_DOMAIN + "api/items/location?loc_id={0}&offset={1}";
  public static final String SDK_API_ITEMS_RELATIVE_TO_ITEM = WEBSITE_DOMAIN + "api/items/relative_to_item?item_id={0}";

  public static final String SDK_API_SHOPS = WEBSITE_DOMAIN + "api/shop/list";
  public static final String SDK_API_SHOP_EVENTS = WEBSITE_DOMAIN + "api/shop/events";
  public static final String SDK_API_SHOP_TIPS = WEBSITE_DOMAIN + "api/shop/tips";
  public static final String SDK_API_TAG_BY_USER = WEBSITE_DOMAIN + "api/tag/by_user?user_id={0}";
  public static final String SDK_API_TAG_BY_ITEM = WEBSITE_DOMAIN + "api/tag/by_item?item_id={0}";

  public static final String SDK_API_USER_CURRENT_USER = WEBSITE_DOMAIN + "api/user/current_user";
  public static final String SDK_API_USER_LOGGED_IN = WEBSITE_DOMAIN + "api/user/logged_in";
  public static final String SDK_API_USER_LOGIN = WEBSITE_DOMAIN + "api/user/login";
  public static final String SDK_API_USER_LOGOUT = WEBSITE_DOMAIN + "api/user/logout";
  public static final String SDK_API_USER_BY_ID = WEBSITE_DOMAIN + "api/user/profile?user_id={0}";
  public static final String SDK_API_USER_BY_EMAIL = WEBSITE_DOMAIN + "api/user/profile?email={0}";
  public static final String SDK_API_USER_BRANDS = WEBSITE_DOMAIN + "api/user/brands?user_id={0}";
  public static final String SDK_API_USER_FRIENDS = WEBSITE_DOMAIN + "api/user/friends?user_id={0}&offset={1}";
  public static final String SDK_API_USER_ITEMS_COLLECTED = WEBSITE_DOMAIN
      + "api/user/collected?user_id={0}&offset={1}";
  public static final String SDK_API_USER_ITEMS_LIKED = WEBSITE_DOMAIN + "api/user/liked?user_id={0}&offset={1}";
  public static final String SDK_API_USER_ITEMS_PUBLISHED = WEBSITE_DOMAIN
      + "api/user/published?user_id={0}&offset={1}&size={2}";

  public static final String SUBMITSDK_API_COMMENT_ADD = WEBSITE_DOMAIN + "api/comment/add/{0}";
  public static final String SUBMITSDK_API_COMMENT_DEL = WEBSITE_DOMAIN + "api/comment/delete/{0}";
  public static final String SUBMITSDK_API_FRIEND_ADD = WEBSITE_DOMAIN + "api/friend/add/{0}";
  public static final String SUBMITSDK_API_FRIEND_DEL = WEBSITE_DOMAIN + "api/friend/delete/{0}";
  public static final String SUBMITSDK_API_ITEM_BRAND = WEBSITE_DOMAIN + "api/item/brand/{0}?brand_id={1}";
  public static final String SUBMITSDK_API_ITEM_MEDIA = WEBSITE_DOMAIN + "api/item/media";
  public static final String SUBMITSDK_API_ITEM_SUBMIT = WEBSITE_DOMAIN + "api/item/submit";
  public static final String SUBMITSDK_API_ITEM_SHARE = WEBSITE_DOMAIN + "api/item/share/{0}";

  public static final String SUBMITSDK_API_AVATAR_CHANGE = WEBSITE_DOMAIN + "api/avatar/change";
  public static final String SUBMITSDK_API_USER_COLLECT = WEBSITE_DOMAIN + "api/user/collect/{0}";
  public static final String SUBMITSDK_API_USER_LIKE = WEBSITE_DOMAIN + "api/user/like/{0}";
  public static final String SUBMITSDK_API_USER_REGISTER = WEBSITE_DOMAIN + "api/user/register";

}
